<template>
	<view class="user_register_index_page">
		<view class="page_content">
			<ty-register-login :show.sync="show" :agree.sync="agree" @login="login" show-type="2">
				<view class="bg-ff">
					<!-- 占位 view，避免页面内容出现在状态栏 -->
					<view class="height-status-bar"></view>
				</view>
			</ty-register-login>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				agree: false,
				show: true
			}
		},
		methods: {
			login() {
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style>

</style>
